package cn.ld.exception.code;

public enum ErrorCode {
    ERROR_CODE_TENANT_EXIST(400000001,"该租户已经存在了，请直接登录"),
    ERROR_CODE_TENANT_ADMIN_EXIST(400000002,"该管理员已存在，请直接登录入驻"),
    ERROR_CODE_400(400,"前端参数有误"),
    ERROR_CODE_500(500,"系统繁忙！请稍后再试");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    ErrorCode() {
    }
}
